package com.shqcjd.yunweiyanoperator.model.pojo;

import java.util.List;

public class EquipmentInspectionBean {

    /**
     * id : 16
     * name : 我的房间
     * task_code :
     * prev : {"id":0,"name":""}
     * next : {"id":0,"name":""}
     * parts : [{"id":5,"part_name":"USB组","items":[{"id":9,"name":"A口","stand":"正常通信","check_type":1,"last_result":1,"check_method":[],"equipment_part_id":5,"result":1},{"id":10,"name":"B口","stand":"正常通信","check_type":1,"last_result":1,"check_method":[],"equipment_part_id":5,"result":1}]},{"id":6,"part_name":"电源","items":[{"id":11,"name":"风扇","stand":"旋转","check_type":1,"last_result":1,"check_method":[{"type":2,"name":"耳听","data":"","equipment_part_item_id":11}],"equipment_part_id":6,"result":1},{"id":12,"name":"温度","stand":"正常","check_type":2,"last_result":1,"check_method":[{"type":4,"name":"调取数据","data":"www.baidu.com","equipment_part_item_id":12}],"equipment_part_id":6,"result":1}]}]
     */

    public int id;
    public String name;
    public String task_code;
    public PrevBean prev;
    public NextBean next;
    public boolean running;
    public List<PartsBean> parts;

    public static class PrevBean {
        /**
         * id : 0
         * name :
         */

        public int id;
        public String name;
        public String kks;
    }

    public static class NextBean {
        /**
         * id : 0
         * name :
         */

        public int id;
        public String name;
        public String kks;
    }

    public static class PartsBean {
        /**
         * id : 5
         * part_name : USB组
         * items : [{"id":9,"name":"A口","stand":"正常通信","check_type":1,"last_result":1,"check_method":[],"equipment_part_id":5,"result":1},{"id":10,"name":"B口","stand":"正常通信","check_type":1,"last_result":1,"check_method":[],"equipment_part_id":5,"result":1}]
         */

        public int id;
        public String part_name;
        public List<ItemsBean> items;

        public static class ItemsBean {
            /**
             * id : 9
             * name : A口
             * stand : 正常通信
             * check_type : 1
             * last_result : 1
             * check_method : []
             * equipment_part_id : 5
             * result : 1
             */

            public int id;
            public String name;
            public String stand;
            public int check_type;
            public int last_result;
            public int equipment_part_id;
            public String description;
            public int result;
            public String min;
            public String max;
            public String data_type;
            public String value;
            public List<MyBean> check_method;
            public List<String> imgs;
            public static class MyBean {
                public String name;
                public int equipment_part_item_id;
                public String data;
                public int type;
            }
        }
    }
}
